//
//  NetWork.h
//  PCS-IPHONE
//
//  Created by zhouChaoLin on 17/3/11.
//  Copyright © 2017年 Henry. All rights reserved.
//

#import <Foundation/Foundation.h>


typedef void(^CMIOTRequestSucess) (id result, NSError  *error);


@interface NetWork : NSObject


#pragma mark 网络请求

// 提交购物车
+(void)sumShoppingCart:(NSArray  *)arrProduct
              callBack:(CMIOTRequestSucess)callBack;

// 获取购物车
+(void)getShoppingCart:(NSString  *)shopCartID
              callBack:(CMIOTRequestSucess)callBack;

// 删除商品
+(void)delProduc:(NSInteger )FID
        callBack:(CMIOTRequestSucess)callBack;

// 修改数量
+(void)modProduc:(NSInteger )FID
            FQty:(NSInteger )FQty
        callBack:(CMIOTRequestSucess)callBack;

// 提交订单
+(void)SubmitOrder:(NSDictionary  *)dicData
          callBack:(CMIOTRequestSucess)callBack;

// 查询售后盘点
+(void)searchInventoryLaterCallBack:(CMIOTRequestSucess)callBack;



#pragma mark 参数整理
// 提交购物车参数
+(NSDictionary  *)submitShoppingCarParama:(NSArray  *)arrProduc;




@end
